<template>
	<div class="home">
		<div class="div_title">
			<div class="div_text">我的订单</div>
		</div>
		<div class="div_body" @click="tzdd">
			<div class="body_text">
				<span>沃尔玛</span>
				<span>已取消</span>
			</div>
			<div class="div_imgs">
				<img src="../assets/login/logo.png"/>
				<img src="../assets/login/logo.png"/>
				<img src="../assets/login/logo.png"/>
				<img src="../assets/login/logo.png"/>
				<div class="imgs_text">
					<span class="price_span">￥66.69</span>
					<span class="sl_span">共6件</span>
				</div>
			</div>
		</div>
		<div class="div_body" @click="tzdd">
			<div class="body_text">
				<span>沃尔玛</span>
				<span>已取消</span>
			</div>
			<div class="div_imgs">
				<img src="../assets/login/logo.png"/>
				<img src="../assets/login/logo.png"/>
				<div class="imgs_text">
					<span class="price_span">￥36.88</span>
					<span class="sl_span">共2件</span>
				</div>
			</div>
		</div>
		<div class="div_null"></div>
	</div>
</template>

<script>
	export default {
			methods: {
				tzdd() {
					this.$router.push('/ConOrder')
				}
			}
		}
</script>

<style>
	.home {
		background: #f8f8f8;
		width: 100%;
	}
	.div_title {
		height: 44px;
		width:100%;
		text-align: center;
		background-color: #FFFFFF;
	}
	.div_text {
		height: 22px;
		font-size: 16px;
		color: #333333;
		text-align: center;
		margin-top: 11px;
		margin-bottom: 11px;
	}
	.div_body{
		background-color: #FFFFFF;
		/* width: 100%; */
		height: 110px;
		margin-top: 16px;
		margin-left: 18px;
		margin-right: 18px;
	}
	.body_text span{
		margin-top: 16px;
		margin-left: 16px;
	}
	.body_text :nth-child(1) {
		font-size: 16px;
		margin-top: 16px;
		float: left;
	}
	.body_text :nth-child(2) {
		font-size: 14px;
		color: #999999;
		float: right;
		paddin-top: 16px;
		padding-right: 16px;
	}
	.div_imgs{
		padding-top: 54px;
	}
	.div_imgs img{
		height: 40px;
		width: 40px;
		margin-left: 16px;
		margin-right: -4px;
	}
	.imgs_text{
		display: flex;
		float: right;
		flex-direction: column;
		align-items: center;
		margin-right: 16px;
	}
	.price_span {
		font-size: 14px;
		color: #E93B3B;
	}
	.sl_span {
		font-size: 12px;
		color: #333333;
		padding-left: 20px;
	}
	.div_null{
		background: #f8f8f8;
		height: 1800px;
	}
	
</style>
